/**
 * @file readwrite_queue.hpp
 * @date 2021/10/28 19:10
 * 
 * @author harrybao (harrybao@123u.com)
 * 
 * @brief 读写队列
 * 
 * @version v1.0.0
 * 
 * @copyright Copyright © 2021 harrybao All Rights Reserved
 * 
 * @par history:
 * <table>
 * <tr><th>Date                     <th>Version     <th>Author      <th>Description
 * <tr><td>2021/10/28 19:10         <td>1.0.0       <td>harrybao    <td>创建初始版本
 * </table>
 */

#include "thread/lock/readwrite_lock.hpp"

namespace hthread {

template<typename T, size_t MAX_BLOCK_SIZE = 512>
class readwritequeue {
public:
	using value_type = Value;

public:
  bool try_enqueue(T&& element) { return false; }

	bool try_dequeue(T& result) { return false; }

  T* peek() { return nullptr; }
};
} // namespace hthread